package com.ruoyi.project.module.releaseGroup.service;

import com.ruoyi.project.module.application.domain.Application;
import com.ruoyi.project.module.releaseGroup.domain.ReleaseGroup;
import org.shoukaiseki.koori.model.ResultKoori;

import java.util.List;

/**
 * 发布属性组 服务层
 * 
 * @author ruoyi
 * @date 2018-12-06
 */
public interface IReleaseGroupService 
{
	/**
     * 查询发布属性组信息
     * 
     * @param configReleaseGroupId 发布属性组ID
     * @return 发布属性组信息
     */
	public ReleaseGroup selectReleaseGroupById(Long configReleaseGroupId);
	
	/**
     * 查询发布属性组列表
     * 
     * @param releaseGroup 发布属性组信息
     * @return 发布属性组集合
     */
	public List<ReleaseGroup> selectReleaseGroupList(ReleaseGroup releaseGroup);
	
	/**
     * 新增发布属性组
     * 
     * @param releaseGroup 发布属性组信息
     * @return 结果
     */
	public int insertReleaseGroup(ReleaseGroup releaseGroup);
	
	/**
     * 修改发布属性组
     * 
     * @param releaseGroup 发布属性组信息
     * @return 结果
     */
	public int updateReleaseGroup(ReleaseGroup releaseGroup);
		
	/**
     * 删除发布属性组信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteReleaseGroupByIds(String ids);


	/**
	 * 发布
	 * @param configApplication
	 * @return
	 */
	public ResultKoori release(Application configApplication);
}
